package com.hotel.gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.awt.Window;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.SwingConstants;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import java.awt.Color;
import javax.swing.JScrollPane;
import javax.swing.JInternalFrame;


public class CustMainFrm extends JFrame {
	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					CustMainFrm frame = new CustMainFrm();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public CustMainFrm() {
		setResizable(false);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 911, 669);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JMenuBar menuBar = new JMenuBar();
		menuBar.setBackground(Color.LIGHT_GRAY);
		menuBar.setForeground(Color.BLACK);
		menuBar.setBounds(0, 0, 905, 46);
		contentPane.add(menuBar);
		
		JMenu menu = new JMenu("\u5BA2\u623F\u5165\u4F4F");
		menuBar.add(menu);
		
		JMenuItem menuItem = new JMenuItem("\u5BA2\u623F\u63A8\u8350");
		menuItem.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				CustMainFrm.this.setVisible(false);
				ReferenceJFrame01 rjf=new ReferenceJFrame01();
				rjf.setVisible(true);
				
			}
		});
	
		menu.add(menuItem);
		
		JMenuItem menuItem_1 = new JMenuItem("\u5BA2\u623F\u67E5\u8BE2");
		menu.add(menuItem_1);
		
		JMenuItem menuItem_2 = new JMenuItem("\u5BA2\u623F\u9884\u8BA2");
		menu.add(menuItem_2);
		
		JMenu menu_1 = new JMenu("\u9152\u5E97\u529F\u80FD");
		menuBar.add(menu_1);
		
		JMenuItem menuItem_3 = new JMenuItem("\u70B9\u9910");
		menu_1.add(menuItem_3);
		
		JMenuItem menuItem_4 = new JMenuItem("\u6E05\u6D01");
		menu_1.add(menuItem_4);
		
		JMenuItem menuItem_5 = new JMenuItem("\u66F4\u6362\u623F\u95F4");
		menu_1.add(menuItem_5);
		
		JMenuItem menuItem_6 = new JMenuItem("\u9910\u684C\u9884\u8BA2");
		menu_1.add(menuItem_6);
		
		JMenu menu_2 = new JMenu("\u5E2E\u52A9");
		menuBar.add(menu_2);
		
		JMenuItem menuItem_7 = new JMenuItem("\u7528\u6237\u987B\u77E5");
		menu_2.add(menuItem_7);
		
		JMenuItem menuItem_8 = new JMenuItem("\u9152\u5E97\u8BE6\u60C5");
		menu_2.add(menuItem_8);
	}
}
